﻿/* 
 * BtCommLib - the OpenWebNet .NET Library
 *
 * Copyright (C) 2011 BTicino S.p.A.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */

using System;

namespace BTicino.BtCommLib.Attributes
{
    /// <summary>
    /// List of Bticino attribute
    /// </summary>
    public enum BTAttributeName
    {
        Who, 
        What, 
        Where, 
        Dimension, 
        DimValues, 
        Raw
    }

    public class MsgType : System.Attribute
    {
        
       public string TypeCode;

       public MsgType(string type)
       {
           TypeCode = type;
       }

       public MsgType()
       { 
       }

    }

    public class Mapper : System.Attribute
    {
        public Type MapperClass;

        public Mapper(Type _mapperClass)
        {
            MapperClass = _mapperClass;
        }

        public Mapper()
        {
        }
    }

    /// <summary>
    /// Who attribute for annotation system
    /// </summary>
    public class Who : System.Attribute
    {

        public Who()
        {
        }
    }

    /// <summary>
    /// What attribute for annotation system
    /// </summary>
    public class What : System.Attribute
    {
        public What()
        {
        }
    }

    /// <summary>
    /// Where attribute for annotation system
    /// </summary>
    public class Where : System.Attribute
    {
        public Where()
        {
        }
    }

    /// <summary>
    /// Dimension attribute for annotation system
    /// </summary>
    public class Dimension : System.Attribute
    {
        public Dimension()
        {
        }
    }

    /// <summary>
    /// DimValues attribute for annotation system
    /// </summary>
    public class DimValues : System.Attribute
    {
        public DimValues()
        {
        }
    }

    /// <summary>
    /// Raw attribute for annotation system, contain BTicino OPEN string
    /// </summary>
    public class Raw : System.Attribute
    {
        public Raw()
        {
        }
    }

}
